package com.lucky.start;


import com.lucky.entity.Person;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.util.StopWatch;

/**
 * @program: spring
 * @description: debug
 * @author: Loki
 * @create: 2021-24-30 18:03
 **/
public class DebugMvc{
	private static final Log log = LogFactory.getLog(DebugMvc.class);

	public static void main(String[] args) {
		log.info("Spring-framework debug === begin");
		StopWatch watch = new StopWatch();
		watch.start();
		

		watch.stop();
		double time = (double) watch.getTotalTimeMillis() / 1000.0D;
		log.info("Spring-framework debug === end 时间: "+time);
	}
}
